package cn.com.hfuu.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.hfuu.dao.codeMapper;
import cn.com.hfuu.module.code;

@Service("codeservice")
public class CodeService {

	@Autowired
	codeMapper codemap;
	
	public List<code> selectbyType(String type){
		
		return codemap.selectbyType(type);
		
	}
}
